import uuid

from sqlalchemy import CHAR
from config.database import db


class BaseModel(db.Model):
    id = db.Column(CHAR(36), primary_key=True, default=lambda: str(uuid.uuid4()))
